Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Apr 22, 2020

Fix #8762: Make REPL work with indented code

This is great even if we do not use optional braces. For instance, now you can write:

scala> if c == 1 then
  "yes"
else
  "no"

Previously, it would have stopped you after the "yes".

@odersky odersky changed the title Add repl indent Fix #8762: Make REPL work with indented code Apr 22, 2020
@odersky odersky added this to the 0.24.0-RC1 milestone Apr 22, 2020
This is great even if we do not use optional braces. For instance, now you can write:
```scala
scala> if c == 1 then
  "yes"
else
  "no"
```
Previously, it would have stopped you after the "yes".
@anatoliykmetyuk anatoliykmetyuk merged commit 012036b into scala:master Apr 22, 2020
@anatoliykmetyuk anatoliykmetyuk deleted the add-repl-indent branch April 22, 2020 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REPL should work with optional braces

2 participants